<meta name="viewport" id="viewport" content="width=device-width,initial-scale=0.2">
<!--顶部导航开始-->
<header>
	<div id="top-inner">
				<div class="sizenav">
					<div class="nav-left">
						<div class="nav-left-cont">
							7x24小时中文热线：中国大陆 0311-88989858 <p style="padding:0 5px; display: inline-block;"></p>400-672-1729
							<i>v</i>
						</div>
						<ul class="cont-list">
							<!-- <li>
								<span class="title">中国大陆拨打：</span>
								<a href="###" class="tel-number">1010 1020</a>
							</li>
							<li>
								<span class="title">美国地区拨打：</span>
								<a href="###" class="tel-number">+1 (347) 788 0952</a>
							</li>
							<li>
								<span class="title">德国地区拨打：</span>
								<a href="###" class="tel-number">+49 (30) 3080 6994</a>
							</li> -->
						</ul>
					</div>
					<ul class="nav-right">
						{if empty(session('user.id'))}
						 <li class="top-nav-menu top-nav-none-login">
							<div class="login">
								<a href= {php} echo url('/user/register','','','user') {/php} target="_self" class="a1">注册</a>
								<a href={php} echo url('/user/login','','','user') {/php} target="_self" class="a2">登录</a>
							</div>	
						</li> 
						{else /}
						<li class="top-nav-menu login-success">
							<div class="nickname">
								<span>{php} echo session('user.mobile') {/php}</span>
								<a href="/message/index">未读消息(<span><?php echo model('Notices')->getNoticeCount($status = 0) ?></span>)</a>
							</div>
						</li>
						{/if}
						<li class="top-nav-menu top-nav-my-shsy">
							<div class="nav-shsy">
								<a href={php} echo url('/user/index','','','user') {/php}>我的双辉</a>
								<i>v</i>
							</div>
							<div class="account-info">
								<!--未登录跳转的地方不同-->
								{if empty(session('user.id'))}
								<div class="account-info-list">
									<a href={php} echo url('/order/allorders','','','user') {/php}>房车订单</a>
									<a href={php} echo url('/wishs/myacceptorder','','','user') {/php}>需求订单</a>
									<a href={php} echo url('/userinfo/personinfo','','','user') {/php}>个人资料</a>
									<a href={php} echo url('/intergrate/index','','','user') {/php}>我的旅行币</a>
								</div>
								{else/}
								<!--已登录-->
								<div class="account-info-list">
									<a href={php} echo url('/order/allorders','','','user') {/php}>房车订单</a>
									<a href={php} echo url('/wishs/myacceptorder','','','user') {/php}>需求订单</a>
									<a href={php} echo url('/userinfo/personinfo','','','user') {/php}>个人资料</a>
									<a href={php} echo url('/intergrate/index','','','user') {/php}>我的旅行币</a>
									<a href={php} echo url('/user/loginout','','','user') {/php}>退出</a>
								</div>
								{/if}
							</div>
						</li>
						<!-- <li class="top-nav-menu top-nav-menu-order">
							<div class="menu-order">
								订单查询
								<i>v</i>
							</div>
							<div class="order-details">
								<div class="order-details-list">
									<a href={php} echo url('/web/queryorder','','','www') {/php}>交换订单</a>
									<a href={php} echo url('/web/queryorder','','','www') {/php}>租赁订单</a>
								</div>
							</div>
						</li> -->
						<!-- <li class="top-nav-menu top-nav-menu-phone">
							<a href="###" class="menu-phone">
								<i></i>
								手机版
							</a>
							<div class="menu-phone-app">
								<div class="bg-pic"></div>
								<p class="pic-text">手机租车更方便</p>
							</div>
						</li> -->
						<li class="top-nav-menu top-nav-menu-weixin">
							<a href="###" class="menu-weixin">
								<i></i>
								微信公众号
							</a>
							<div class="menu-wx-app">
								<div class="bg-wxpic"></div>
								<p class="pic-wxtext">扫一扫，关注微信</p>
							</div>
						</li>
						<li class="top-nav-menu top-nav-menu-lan">
							<div class="menu-lan">
								<i class="bg-img china-img"></i>
								简体中文
								<i class="jiantou">v</i>
							</div>
							<div class="more-lan">
								<div class="more-lan-list">
									<a href="###"><i class="hongk-img bg-img"></i>英文</a>
									<a href="###"><i class="taiwan-img bg-img"></i>台灣繁體</a>
								</div>
							</div>
						</li>
						<!-- <li class="top-nav-menu top-nav-menu-service"><a href="###">客服中心</a></li> -->
						<li class="top-nav-menu top-nav-my-shsy">
							<div class="nav-shsy">
								管理员入口
								<i>v</i>
							</div>
							<div class="account-info">
								<div class="account-info-list">
									<a href={php} echo url('/campmanager/login','','','manager') {/php} target="_blank">营地管理员</a>
									<a href={php} echo url('/manager/login','','','branch') {/php} target="_blank">分公司管理员</a>
								</div>
							</div>
						</li>
					</ul>
				</div>
	</div>
	<div id="top-bar-box" style="background-color: #F9F9F9; width: 100%;">
		<div id="top-bar">
			<div class="top-bar-left">
				<div class="logo">
					<a href={php} echo url('/web/index','','','www') {/php}>
						<span class="logospan">1</span>
						<span>双辉旅程网</span>
					</a>
				</div>
				<div class="shsy-slogan">
					<p>驾给我吧</p>
					<p style="padding-left: 24px;">带你游遍全世界</p>
				</div>
			</div>
			<div class="top-bar-right">
				<ul class="top-bar-right-menu">
					<li class="single-menu single-menu-home"><a href="/user/index">个人中心</a></li>
					<li class="single-menu account-set">
						<span>账户设置</span>
						<ul class="account-set-list">
							<li><a href="/userinfo/personinfo">个人资料</a></li>
							<li><a href="/userinfo/updatepassword">修改密码</a></li>
							<li><a href="/userinfo/identityinfo">实名认证</a></li>
							<li><a href="/contactinfo">联系人信息</a></li>
						</ul>
					</li>
					<li class="single-menu"><a href="/message/index">未读消息<i style="color: #ea5404;">(<?php echo model('Notices')->getNoticeCount($status = 0) ?>)</i></a></li>
				</ul>
			</div>
		</div>
	</div>
</header>
<!--顶部导航结束-->
